#ifndef COMMANDS_H
#define COMMANDS_H
//SOCKET COMMANDS FOR FIREBOT

//assume unsigned char
#define COMMAND_REPORTALLIO 0x21


#define    SOCKCMD_AUTH 0x01 //authenticate current socket for main control

#define    SOCKCMD_PREQ 0x10 // 'ping' request
#define    SOCKCMD_PACK 0x11 //'ping' acknowledge
#define    SOCKCMD_REQIO 0x12 //request IO states

#define SOCKCMD_EVTKILL 0x14//kill event executed

#define SOCKCMD_FWDRS232 0x20 //forward rs232 packet(set motor speed, relays, etc

#define SOCKCMD_g 0x1123123

#define SOCKCMD_ERRORMSG 0x30 //error message + text
//#define SOCKCMD_SHOWLOG
  
#endif
